package com.example.it.testformartialdesign;

/**
 * Created by 鲁迅认识的那只猹 on 7/13/2017 2:56 PM.
 * Class Desc:
 * <p>
 * Update
 * Updated by IT on 7/13/2017 2:56 PM
 * Desc:
 */

/*
* 自定义的水果类
* */
public class Fruit {

    private String name;
    private int imgId;

    public Fruit() {

    }

    public Fruit(String name, int imgId) {
        this.name = name;
        this.imgId = imgId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setImgId(int imgId) {
        this.imgId = imgId;
    }

    public String getName() {
        return name;
    }

    public int getImgId() {
        return imgId;
    }
}
